package com.chinairi.mall.model;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.chinairi.common.model.BaseModel;
import com.baomidou.mybatisplus.annotation.TableField;

/**
 * <p>
 * 
 * </p>
 *
 * @author Webgasd
 * @since 2020-09-12
 */
@TableName("MEASUREMENT_RATE")
public class MeasurementRate extends BaseModel {

    private static final long serialVersionUID = 1L;

    @TableId("RATE_DBID")
    private String rateDbid;

    @TableField("FIRST_MEASURE")
    private String firstMeasure;

    @TableField("LAST_MEASURE")
    private String lastMeasure;

    @TableField("RATE")
    private BigDecimal rate;

    public String getRateDbid() {
        return rateDbid;
    }

    public void setRateDbid(String rateDbid) {
        this.rateDbid = rateDbid;
    }
    public String getFirstMeasure() {
        return firstMeasure;
    }

    public void setFirstMeasure(String firstMeasure) {
        this.firstMeasure = firstMeasure;
    }
    public String getLastMeasure() {
        return lastMeasure;
    }

    public void setLastMeasure(String lastMeasure) {
        this.lastMeasure = lastMeasure;
    }
    public BigDecimal getRate() {
        return rate;
    }

    public void setRate(BigDecimal rate) {
        this.rate = rate;
    }

    @Override
    public String toString() {
        return "MeasurementRate{" +
            "rateDbid=" + rateDbid +
            ", firstMeasure=" + firstMeasure +
            ", lastMeasure=" + lastMeasure +
            ", rate=" + rate +
        "}";
    }
}
